http error 您所在的位置:网站首页 controller timeout http error

http error

2023-10-09 13:56| 来源: 网络整理| 查看: 265

在造车仑子的时候发现我的服务器出现问题了,如下图所示 在这里插入图片描述 系统反馈的问题是:http error - listen tcp 127.0.0.1:1087: bind: address already in use

然后打开服务器的LOG上面报的问题是:

2020/05/10 00:25:44 [Info] [4151087571] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/vmess/outbound: connection ends > context canceled Failed to start v2ray.com/core/app/proxyman/inbound: failed to listen TCP on 1087 > v2ray.com/core/transport/internet: failed to listen on address: 127.0.0.1:1087 > listen tcp 127.0.0.1:1087: bind: address already in use

导致了我的服务器无法使用,身为计算机网络原理和网络工程的我知道问题所在:原来我的TCP 1087被占用了

想象一下,上厕所有人占了你的坑位你肯定不能上了。要等人家用完或者把别人赶出去,我的解决方案就是把在蹲的的那哥们给拉出去。

打开Terminal 输入:

sudo lsof -i :1087

先找出到底是谁用了我的端口

这个是系统名:~ 这个是系统名$ lsof -i:1087 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME privoxy 9691 这个是系统名 3u IPv4 0x1b0d1856bfe96b19 0t0 TCP localhost:cplscrambler-in (LISTEN) 这个是系统名:~ 这个是系统名$

所以,问题找出来了。是个pid 9691 的玩意儿在使用我的TCP端口

kill 掉这个PID

kill xx端口 -9 pid

如果失败找到Active Monitor 找到相应pid 然后quit,重启。



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有